package com.zhijiang.hospital.entity.Permission;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 75936
 * @version 1.0
 * @project zhijiang_hospital_datas
 * @description
 * @date 2023-03-21 15:53:30
 */
@Data
@ApiModel
@TableName("com_menu")
@AllArgsConstructor
@NoArgsConstructor
public class Menu {


    @ApiModelProperty(value = "菜单编码")
    private String menuCode;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "图标名称")
    private String iconName;

    @ApiModelProperty(value = "图表数据列表")
    private String name;

    @ApiModelProperty(value = "菜单路径")
    private String path;

    @ApiModelProperty(value = "是否缓存")
    private String keepAlive;

    @ApiModelProperty(value = "菜单标题")
    private String label;

    @ApiModelProperty(value = "菜单排序")
    private String sopt;

    @ApiModelProperty(value = "菜单组件")
    private String component;

    @ApiModelProperty(value = "菜单元数据")
    private String meta;

    @ApiModelProperty(value = "图表数据列表")
    private String title;

    @ApiModelProperty(value = "是否缓存")
    private String ignoreKeepalive;

    @ApiModelProperty(value = "是否隐藏菜单")
    private String hideMenu;

    @ApiModelProperty(value = "菜单权限")
    private String permission;

    @ApiModelProperty(value = "子菜单")
    private String children;

    @ApiModelProperty(value = "是否有子菜单")
    private String hasChildren;

    @ApiModelProperty(value = "角色ID")
    private String roleId;

    @ApiModelProperty(value = "")
    private List<Meta> metas;

    //public Menu(){
    //    meta=new ArrayList<Meta>();
    //}
    //public  List<Meta> getMeta(){
    //    return this.meta=meta;
    //}
    //public void getMeta(List<Meta> meta){
    //    this.meta=meta;
    //}
    //public void setMeta(List<Meta> meta){
    //    this.meta=meta;
    //}
    //public Menu(List<Meta> meta){
    //    this.meta=meta;
    //}


}
